package day1.HomeWork;

public class Dog extends Animal{
    @Override
    public void speak() {
        System.out.println("I am a dog.");
    }
    public void wagTail() {
        System.out.println("I am wagging my tail.");
    }
}
